package cn.itsource.user.mapper;

import cn.itsource.user.domain.LoginInfo;
import cn.itsource.user.domain.Wechat;
import org.apache.ibatis.annotations.Param;

public interface WechatMapper {
    Wechat queryByOpenid(String openid);

    void save(Wechat wechat);

    void binder(@Param("openid") String openid, @Param("loginInfo") LoginInfo loginInfo);
}
